package com.ruoyi.sycs.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 方案明细业务对象 sycs_ba_fangan_detail
 *
 * @author zyb
 * @date 2024-10-17
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class BaFanganDetailBo extends BaseEntity {

    /**
     * 方案id
     */
    @NotNull(message = "方案id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long fanganId;

    /**
     * 字段
     */
    @NotBlank(message = "字段不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fieldKey;

    /**
     * 中文名
     */
    @NotBlank(message = "中文名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fieldLabel;

    /**
     * 小数点位数字典
     */
    @NotBlank(message = "小数点位数字典不能为空", groups = { AddGroup.class, EditGroup.class })
    private String xsdws;


}
